﻿<!DOCTYPE html>
<html>
<head>
    <title>易福励的系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style type="text/css">
        .container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }
        .chat-box {
            background: #f7f7f7;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        .chat-box-left {
            float: left;
            margin-right: 10px;
            border-radius: 5px;
            background: #fff;
            padding: 10px;
            max-width: 80%;
        }
        .chat-box-right {
            float: right;
            margin-left: 10px;
            border-radius: 5px;
            background: #fff;
            padding: 10px;
            max-width: 80%;
        }
        .chat-input {
            background: #f7f7f7;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        .chat-input input {
            width: 100%;
            padding: 10px;
            border: none;
            outline: none;
            border-radius: 5px;
        }
        @media (max-width: 600px) {
            .container {
                width: 100%;
                max-width: 100%;
            }
        }
    </style>
</head>
<body onload="initData()">
<div class="container">
    <div class="chat-box">
        <p>
            <a target="_blank" href="https://koufumngdev.e-fuli.com/">【口福后管】-测试</a>
        </p>
        <p>
            <a target="_blank" href="http://koufumng.e-fuli.com/#/login">【口福后管】-生产</a>
        </p>
        <p style="cursor: pointer;" onclick="myswitch('koufuid')">用户名密码箱，登陆才能看到</p>
        <ul id="koufuid" style="display: none"></ul>
        <p>----------------</p>
        <p>
            <a target="_blank" href="https://fywmngdev.e-fuli.com/core_index.html">【核心后管】-福员外-测试</a>
        </p>
        <p>
            <a target="_blank" href="http://efulimng.alipay-eco.com/core_index.html">【核心后管】-福员外-生产</a>
        </p>
        <p style="cursor: pointer;" onclick="myswitch('coreid')">用户名密码箱，登陆才能看到</p>
        <ul id="coreid" style="display: none"></ul>
        <p>----------------</p>
        <p>
            <a target="_blank" href="https://fywmngdev.e-fuli.com/corp_index.html">【企业后管】-福员外-测试</a>
        </p>
        <p>
            <a target="_blank" href="http://efulimng.alipay-eco.com/corp_index.html">【企业后管】-福员外-生产</a>
        </p>
        <p style="cursor: pointer;" onclick="myswitch('corpid')">用户名密码箱，登陆才能看到</p>
        <ul id="corpid" style="display: none"></ul>
        <p>----------------</p>
        <p>
            <a target="_blank" href="https://koufudev.e-fuli.com/login_index.html">【pc端口福管理员后管】-测试</a>
        </p>
        <p>
            <a target="_blank" href="https://koufu.e-fuli.com/login_index.html">【pc端口福管理员后管】-生产</a>
        </p>
        <p style="cursor: pointer;" onclick="myswitch('koufuPcid')">用户名密码箱，登陆才能看到</p>
        <ul id="koufuPcid" style="display: none"></ul>
        <p>----------------</p>
        <p>
            <a target="_blank" href="http://koufudev.e-fuli.com/koufu-shop/login.html">【口福商城】-测试</a>
        </p>
        <p>
            <a target="_blank" href="https://koufushop.e-fuli.com/koufu-shop/login.html">【口福商城】-生产</a>
        </p>
        <p style="cursor: pointer;" onclick="myswitch('shopid')">用户名密码箱，登陆才能看到</p>
        <ul id="shopid" style="display: none"></ul>
        <p>----------------</p>

    </div>

</div>
</body>
</html>
<script>
    function myswitch(objname){
        objdisplay = document.getElementById(objname).style.display;
        if(objdisplay == "none"){
            document.getElementById(objname).style.display = "block";
        }else{
            document.getElementById(objname).style.display = "none";
        }
    }
    function initData(){
        var xmlHttp1 = new XMLHttpRequest();
        xmlHttp1.onreadystatechange = function(){
            if (xmlHttp1.readyState==4){
                if(xmlHttp1.status==200){
                    var r = JSON.parse(xmlHttp1.response);
                    if (r["apiStatus"] == "1"){
                        var kfhg = r["result"]["kfhg"];
                        var core = r["result"]["core"];
                        var corp = r["result"]["corp"];
                        var shop = r["result"]["shop"];

                        var koufuid = document.getElementById("koufuid");
                        for(var i in kfhg){
                            var lione = document.createElement("li");
                            lione.innerText = kfhg[i];
                            koufuid.appendChild(lione);
                        }

                        var coreid = document.getElementById("coreid");
                        for(var i1 in core){
                            var lione = document.createElement("li");
                            lione.innerText = core[i1];
                            coreid.appendChild(lione);
                        }

                        var corpid = document.getElementById("corpid");
                        for(var i2 in corp){
                            var lione = document.createElement("li");
                            lione.innerText = corp[i2];
                            corpid.appendChild(lione);
                        }

                        var shopid = document.getElementById("shopid");
                        for(var i4 in shop){
                            var lione = document.createElement("li");
                            lione.innerText = shop[i4];
                            shopid.appendChild(lione);
                        }

                    }
                }
            }
        };
        xmlHttp1.open("GET", "/urlBase/getBaseurlInfo", true);
        xmlHttp1.send();
    }
</script>